package com.luokun.vue_shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luokun.vue_shop.entity.SpPermission;
import com.luokun.vue_shop.model.SpPermissionModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SpPermissionMapper extends BaseMapper<SpPermission> {

    /**
     * 多级菜单
     * @param   //父级菜单id
     * @return
     */
     List<SpPermissionModel> menus();

}
